package huyanghong.service.impl;

import huyanghong.dao.HuYangHongDao;
import org.springframework.beans.factory.annotation.Autowired;

import huyanghong.entity.HuYangHongEntity;
import huyanghong.service.HuYangHongService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("ylservice")
public class HuYangHongServiceImpl implements HuYangHongService {
    @Autowired
    huyanghong.dao.HuYangHongDao HuYangHongDao;
    @Override
    public List<HuYangHongEntity> queryPage(String name) {
        return HuYangHongDao.queryPage(name);
    }
}